<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.hs.*"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title><%=Environment.getValue(Environment.PROP_APP_TITLE) %></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	 <LINK href="<%=path %>/app/css/search.css" type=text/css rel=stylesheet>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <%@ include file="../tablehead.jsp"%>
<DIV style="CLEAR: both; VISIBILITY: hidden"></DIV>
<FORM id="hfm" name="hfm" method="post" onsubmit="doSearch();" action="<%=path %>/app/pre/search.do">
	<TABLE class="csst" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px" cellSpacing="0" cellPadding="0">
    <TBODY>
	  <TR>	  
		    <TD style="PADDING-RIGHT: 9px; WIDTH: 150px"><A 
		      href="<%=path %>/app/images/logo.gif">
		      <DIV class="csnlb" id="logo" style="BACKGROUND-POSITION: 0px -26px; WIDTH: 150px; HEIGHT: 55px"><img src="/pre/app/images/logo.gif"/></DIV></A></TD>
		    <TD>
		      <TABLE style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" cellSpacing="2" cellPadding="0">
		        <TBODY>
		        <TR>
		          <TD style="FONT-SIZE: 72%; COLOR: #a8a8a8" noWrap="true" colSpan="3">示例: 大黄 或 当归 </TD>
		        </TR>
		        <TR>
		          <TD>
		          <INPUT class="csmf" name="q" id="haq" style="WIDTH: 360px" maxLength="512" size="50" value="" />
		          </TD>
		          <TD vAlign="top" noWrap="true"><INPUT class="csmf" id="has" type="button" onclick="setSearch();" value="方泉搜索"/></TD>
		          <TD vAlign="top" noWrap="true"></TD>
		        </TR>
		      	</TBODY>
		     </TABLE>
	     	</TD> 
	     </TR>
	     
     </TBODY>
     </TABLE> 
     </FORM>
     <table cellpadding="0" cellspacing="0" width=100% height="100%" border="0">
     <tr>
	     <td ><IFRAME marginWidth=0 cellpadding="0" cellspacing="0" name="mymain" id="mymain"  frameBorder=0 scrolling=no  marginHeight=0 src="<%=basePath%>app/search/index.jsp" width=100% height="100%"  frameBorder=0 scrolling=auto></IFRAME> </td>
	     </tr> 
     </table>
  </body>
</html>
<script type="text/javascript">
function setSearch()
{
if(mymain.rightFrame.setSearch)
	mymain.rightFrame.setSearch(document.getElementById('haq').value);
}
</script>